﻿#ifndef TEST_H
#define TEST_H

#include <iostream>
#include <string>

#include "ObjectFactory.h"

class TestFactory
{
    DECLARE_CLASS_FACTORY(TestFactory)
public:
    TestFactory(){
    }
    ~TestFactory(){
    }
    void print(){
        std::cout<<"TestFactory make ok!!!"<<std::endl;
    }
};


#include "Reflector.h"
class TestInherit : public Object
{
    DECLARE_CLASS_INHERIT(TestInherit)
public :
    TestInherit(){
    }
    ~TestInherit(){
    }

    void print(){
        std::cout<<"TestInherit make ok!!!"<<std::endl;
    }
};
IMPLEMENT_CLASS_INHERIT(TestInherit)
#endif
